One of the most powerful features of JSP technology is the ability to access reusable components, such as JavaBeans, from within a JSP file.
JavaBeans, a portable, platform-independent component model written in Java, was developed in collaboration with industry leaders. JavaBeans display the platform independence found throughout Java. Developers write reusable components once and run them anywhere.
The whole point in using JavaBeans in conjunction with JSPs is to separate code from layout. We’ve discussed that concept already. You minimize the code on the JSP by using JavaBeans.
Tags for content access and presentation reside in JSPs. Logic and programming code for content generation reside in reusable components, JavaBeans.
Click FORWARD to continue.
Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.